package com.wyl;

import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;

public class TestController {
    public static void main(String[] args){
        System.getProperties().setProperty("webdriver.chrome.driver", "C:\\Users\\Administrator\\AppData\\Local\\Google\\Chrome\\Application\\chromedriver.exe");
        ChromeOptions chromeOptions = new ChromeOptions();
        ChromeDriver chromeDriver = new ChromeDriver(chromeOptions);
//        chromeDriver.get("https://www.baidu.com/");

//        String pageSource = chromeDriver.getPageSource();
//        System.out.println(pageSource);
    }
}